package ${packageName};

import com.saluki.client.*;

public class ${serviceName}_impl implements ${serviceName} {

    private ClientInvoker invoker;

<#list methods as method>
    public ${method.responseType} ${method.methodName}(${method.requestType} request) {
        return invoker.invoke("${packageName}.${serviceName}:${method.methodName}", request);
    }
</#list>

    public void setInvoker(ClientInvoker invoker) {
        this.invoker = invoker;
    }
}
